{if $moredoc}
<div class="moredoc" style="text-align:left;">
Ссылки по теме:
{*
	<ul>
	{foreach from=$moredoc item=document}
		<li><a href = "{$document->document_link}">{$document->document_title|escape}</a><br />
		{if $document->document_meta_description !=''}{$document->document_meta_description|escape}<br />{/if}</li>
	{/foreach}
	</ul>
*}
<p>
	{foreach from=$moredoc item=document name=document}

		<a href="{$document->document_alias}">
		{$document->document_title|escape|truncate:60:"...":true}</a>{if !$smarty.foreach.document.last}, {/if}
		</a>
	{/foreach}
</p>	
</div>	
{/if}